package com.lx.core.weight.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lx.core.weight.entity.GoodsType;
import com.lx.core.weight.entity.dto.GoodsTypeDTO;
import com.lx.core.weight.entity.vo.GoodsTypePageList;
import com.lx.core.weight.entity.vo.GoodsTypeVO;
import com.lx.framework.common.R;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lx
 * @date 2025/08/26 12:19
 **/
public interface GoodsTypeService {
    List<GoodsType> getGoodsTypeNameList();
    GoodsTypeVO findGoodsTypePage(IPage<GoodsTypeVO> page,GoodsTypeDTO goodsTypeDTO);
    boolean deleteGoodsType(int id);
    R addGoodsType(String goodsTypeName,boolean prioritySelect);
    R editGoodsType(int id,boolean prioritySelect);
}
